﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <script src="~/Scripts/EasyUI/jquery.min.js"></script>
    <script type="text/javascript">
        function GetReport(type) {
            
            $.ajax({
                url: "@Url.Action("DoGet", "CreateReportByModel")",
                data: { type: type },
                type: 'post',
                success: function (data) {
                    if (data == "1") {
                        alert("获取成功");
                    }
                }
            });
        }

        function GetReport2(type) {

            $.ajax({
                url: "@Url.Action("Index", "GetDataFile")",
                data: { type: type },
                type: 'post',
                success: function (data) {
                    if (data == "1") {
                        alert("获取成功");
                    }
                }
            });
        }
    </script>
</head>
<body>
    <div>
        <input type="button" value="获取大事件咨询" onclick="GetReport('xinwen')" />
        <input type="button" value="获取内幕传闻咨询" onclick="GetReport('neimu')" />
        <input type="button" value="获取重大利好咨询" onclick="GetReport('lihao')" />
        <input type="button" value="获取个股研报" onclick="GetReport('yanbao')" />
        <input type="button" value="获取涨跌" onclick="GetReport('yanbao')" />

       <br />

        <input type="button" value="龙虎榜" onclick="GetReport2('longhubang')" />
        <input type="button" value="3市主力资金流入流出" onclick="GetReport2('zjlx')" />
        <input type="button" value="3大涨跌板块资金流入流出" onclick="GetReport2('zdqsbk')" />
        <input type="button" value="停牌复牌数据" onclick="GetReport2('tpfp')" />
     
    </div>
</body>
</html>
